package com.treeman.marker.dao;

import java.util.List;

import com.treeman.marker.Marker;
import com.treeman.marker.Marker.MarkerType;

public interface MarkerDao {

	public Long addMarker(Marker marker);

	public Marker getMarkerById(Long id);

	public List<Marker> getMarkersByType(MarkerType type);

	public List<Marker> getMarkersByUserUsername(String username);

	public void updateMarker(Marker marker);

	public void deleteMarker(Long id);

	public void deleteMarker(Marker marker);
}
